<?php
//App::getBusiness('sef/url')
//	->addSourceRegex('\/error\/list\/index\/', '/error/');
//App::getBusiness('sef/url')
//	->addSefRegex('\/error\/', '/error/list/index/');
	
function error_request_errorResult($message){
	$GLOBALS[RC]->getMessager()->addError($message);
	return $GLOBALS[RC]->getHelper()->redirectResult('*/error/index/index');
}
Soul_Request_Helper::registerFunction('errorResult', 'error_request_errorResult');